how to edit files in netcat